System, method and program product for consolidated authentication

ABSTRACT

A first computer sends a request to the second computer to access the application. In response, the second computer determines that the user has not yet been authenticated to the application. In response, the second computer redirects the request to a third computer. In response, the third computer determines that the user has been authenticated to the third computer. In response, the third computer authenticates the user to the application. In response, the second computer returns a session key to the third computer for a session between the application and the user. The session has a scope of the second computer or the application but not a scope of a domain. In response to the authentication of the user to the second application and receipt by the third computer of the session key from the second computer for a session between the user and the second computer or the application, the third computer generates another session key with a scope of the domain and sends the domain-scope session key to the first computer. The first computer sends another request to the application with the domain-scope session key.

FIELD OF THE INVENTION

The invention relates generally to user authentication for computer programs, and more specifically to consolidated authentication of a user at a client computer to one or more applications in one or more application servers.

BACKGROUND OF THE INVENTION

It is common for applications that are sensitive or applications that manage sensitive data to require user authentication before granting user access to the application or its data. Authentication prevents unauthorized or unknown users from gaining the benefit of the application, attacking the application or attacking or exploiting the data managed by the application. Authentication typically requires a valid password for a userID.

It was known for a web application that authenticates a user to generate a “session cookie”, record the session cookie and send the session cookie to the web browser of the user's computer where it is stored. The session cookie contains an identifier of the session and the application for which the session is effective. The web browser sends the session cookie with subsequent requests to the web application to notify the web application that the user has already been authenticated to the web application in the same session. If the session cookie is sent with a request to the same application that established the session, the application will recognize the session and not again request authentication information from the user. The web browser may also send the session cookie with subsequent requests to different web applications. However, this other web application will not have any record of the session and therefore, will request authentication information from the user to establish a current session with this other web application. If the web browser does not include any session cookie with the request, then this other web application will request authentication information from the user to establish a current session with this other web application. A session cookie expires at the end of the session, and the application that established the session and session cookie will delete or invalidate the identifier for the session.

Some corporations have multiple internal and external websites with web servers running different applications. It was known to require a user, at the start of a session, to separately supply his or her userID and password for each application within the corporation that he or she wants to access. In such a scenario, each application can maintain a list of valid combinations of userID and password or can access such a list from a central directory and compare the list of valid combinations to the combination presented by the requester. In this scenario, the user does not have to authenticate himself or herself for access to every application.

A known single sign-on technique uses a proxy server such as IBM Tivoli Access Manager™ proxy or Computer Associates eTrust SiteMinder™ proxy. The proxy server is interposed between a user computer and all related applications resident on one or more web servers of the same corporation. Upon request by the proxy server, each user supplies authentication information to the proxy server once per session with the proxy server. The same authentication information—userID and password, is valid for all user requests for all related applications during the same user session with the proxy server. The proxy server then manages authentication to the related applications. Users make all requests via the proxy server to access and use the related applications. Thus, when the user requests access to any of the related applications during the same session with the proxy server, the proxy server furnishes the user's authentication information (userID and password) to such application. The proxy server also relays all subsequent requests by the user to the application during the same session with the proxy server. While the foregoing single sign-on technique reduces the authentication burden on the user, it requires a proxy server interposed between all users' workstations and all application server. The proxy server must handle a large volume of user requests and application responses. The proxy server may be “transparent” (sometimes called a “reverse” proxy server), in which case the user and client computer need not be aware of the proxy server. In the case of a transparent proxy server, the client computer addresses the requests to the web application server. However, a domain name server substitutes the address of the proxy server for the user requests so the user requests go directly to the proxy server instead of the web application server. If the proxy server is “visible” (sometimes called a “forward” proxy server), the client computer “knows” of the proxy server and is reconfigured to address web application requests directly to the proxy server instead of the web application server.

Tivoli Federated Identity Manager™ software allows for disparate domains to share identity information from one or many identity providers. Such identity federation strategies require integration into an existing single sign-on domain such as Tivoli Access Manager™, a trust establishment between the service and identity providers, and additional hardware and software components integrated into the existing application hosting environment. In this scenario, the client request flow would be the same as the Tivoli Access Manager™ solution described above, except for the manner in which the proxy authenticates the client's identity and authorizes access to the content in the request. In the above scenario, the proxy authenticates users and gains authorization to a resource for a particular request all within the scope of the local Tivoli Access Manager™ domain. In a Federated Identity Manager architecture, the proxy component of the Tivoli Access Manager™ domain in which the application resides would communicate with a centralized identity provider either in that same domain, or in another Tivoli Access Manager™ domain. This allows disparate Tivoli Access Manager™ domains to act as application service providers, while all authenticating against a centralized identity provider.

US Published Application serial 2003/0105981 by Miller et al. discloses sharing of session information among related applications. According to this technique, when a user initially authenticates himself or herself to one application, the one (authenticating) application sends the authentication information and session information to related applications (in the same or different web server), before the user attempts to access the related applications. The one (authenticating) application also sends a session cookie to the user's web browser. The session cookie includes the session identifier and an identification of an application that can validate the session. If the user attempts to access one of the other, related application, the web browser supplies the session cookie, and the other, related application verifies the session cookie with the one (authenticating) application. If the session is valid, then the other, related application will grant the user access to itself without requesting authentication information from the user. While the sharing of session information is effective for single sign-on, the one authenticating application sends authentication information to related applications for which the user may never access.

An object of the present invention is to provide an effective, single sign-on technique for related applications.

Another object of the present invention is to provide an effective single sign-on technique which can be applied to existing applications without making any modifications to these applications.

Another object of the present invention is to provide an effective, single sign-on technique for related applications without requiring a proxy server of the foregoing types.

SUMMARY OF THE INVENTION

The present invention resides in a computer system, method and program product for authentication of a user at a first computer to an application at a second computer. The first computer sends a request to the second computer to access the application. In response, the second computer determines that the user has not yet been authenticated to the application. In response, the second computer redirects the request to a third computer. In response, the third computer determines that the user has been authenticated to the third computer. In response, the third computer authenticates the user to the application. In response, the second computer returns a session key to the third computer for a session between the application and the user. The session has a scope of the second computer or the application but not a scope of a domain. In response to the authentication of the user to the second application and receipt by the third computer of the session key from the second computer for a session between the user and the second computer or the application, the third computer generates another session key with a scope of the domain and sends the domain-scope session key to the first computer. The first computer sends another request to the application with the domain-scope session key. In response, the application recognizes a valid session between the user and the application based on the domain-scope session key and responds to the first computer in compliance with the other request. The domain is a group of applications including the application in the second computer, or a group of computers including the second computer, which are owned or operated by a same entity or have a same domain name URL component.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a block diagram of a distributed computer system which includes a single sign-on program within a user's computer according to the present invention.

FIGS. 2(A) and 2(B) form a flow chart of the single sign-on program of FIG. 1.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention will now be described in detail with reference to the figures. FIG. 1 illustrates a distributed computer system generally designated 10 according to the present invention. System 10 includes a single sign-on server 30 and multiple web application servers 40, 60 and 80 all interconnected to a client computer 20 via a network 90 such as the Internet. In a typical scenario, a user 15 of client computer 20 attempts to access applications 49, 69 and 89 (such as web applications) on web application servers 40, 60 and 80, respectively, and such applications require user authentication prior to access.

Client computer 20 includes a known CPU 21, operating system 22, RAM 23 and ROM 24 on a common bus 25 and storage 26, TCP/IP adapter card 27 and monitor 28. Client computer 20 also includes a known web browser 29.

Web server 40 includes a known CPU 41, operating system 42, RAM 43 and ROM 44 on a common bus 45 and storage 46 and TCP/IP adapter card 47.

Web server 60 includes a known CPU 61, operating system 62, RAM 63 and ROM 64 on a common bus 65 and storage 66 and TCP/IP adapter card 67.

Web server 80 includes a known CPU 81, operating system 82, RAM 83 and ROM 84 on a common bus 85 and storage 86 and TCP/IP adapter card 87.

Single sign-on server 30 includes a known CPU 31, operating system 32, RAM 33 and ROM 34 on a common bus 35 and storage 36 and TCP/IP adapter card 37. Single sign-on server 30 also includes a single sign-on (login) program 38 according to the present invention. (Alternately, the single sign-on server program 38 can be installed in one of the web application servers 40, 60 or 80 instead of a separate server 30.) A user 15 registers with single sign-on program 38, i.e. provides a valid combination of userID and password (step 200), before obtaining single-sign on access to any of the web applications 49, 69 or 89. This can occur before the user makes an attempt to access any web application or as part of the process of accessing a web application for the first time, as explained below. In response to this registration, single sign-on program 38 generates a session ID and session cookie representing the session between user 15 and single sign-on program 38 (without domain-scope) (step 204). Single sign-on program 38 also sends the corresponding session cookie (without domain-scope) to web browser 29 to be set in web browser 29 for a session with single sign-on program 38 (step 208). As explained in more detail below, this session cookie will participate in the single sign-on authentication process when the user 15 attempts to access any of the web applications 49 69 or 89.

During one mode of operation, a user 15 invokes web browser 29 and makes a request to access a named application on a web application server, such as a request to access application 49 on web application server 40 (step 212). The web browser 29 forwards the request to the web application 49 in web application server 40, in the known manner via Internet 90. (For example, web browser 29 or a gateway server, not shown, for client computer 20 can query a domain name server, not shown, for the IP address of web application 49 based on the URL of the web application and then send the request with the URL to the IP address of the web application 29.) If web browser 29 has an active session cookie for this user (for a session with the requested application 49 or any other application), then web browser 29 will include the session cookie for application 49 with the access request sent to the web application server 40. Such a session cookie contains an identifier of the currently active session in which the user 15 is a participant and the scope of effectiveness of the session. For example, the scope of the session is the URL of the web application that originally established the session with the user 15 and defined the application session cookie. If the session cookie is valid for web application 49 (decision 216, yes branch), then web application 49 complies with the request without requesting further authentication from the user or web browser 29 (step 220). However, if web browser 29 does not have an application session cookie to send with the user access request or the application session cookie provided with the user access request does not identify an active session of the user with the requested web application 49 (decision 216, no branch), then the requested web application 49 redirects the user access request including the session cookie to the single sign-on program 38 on server 30 (step 224). Application 49 also sends a “redirect” message to web browser 29 notifying web browser 29 that the user access request sent to application 49 has been redirected to single sign-on program 38 (identified by the URL or program 38) so that web browser 29 will authenticate with single sign-on program 39 if not already registered or if already registered, should accept a session cookie from single sign-on program 38 for the session with web application 49 (step 224). In response to the redirect message, web browser 29 initiates an authentication request for single sign-on to program 38 on server 30 (step 228). If web browser 29 has a session cookie for user 15 for single sign-on program 38, then web browser 29 sends, with the authentication request, the session cookie for single sign-on program 38. In response to the authentication request from web browser 29 and session cookie, if any, from application 49 and the session cookie, if any, from web browser 29, single sign-on program 38 determines if single sign-on program 38 has a record in database 39 of authentication of user 15 for the session specified in the session cookie received from application 49 or web browser 29 (step 232).

If single sign-on program 38 has a record (in database 39) of a valid userID and password for user 15 (based on a previous registration of user 15 to single sign-on program 38) (decision 232, yes branch) single sign-on program 38 authenticates user 15 to application 49 by forwarding the userID and password (or other authentication credentials) for user 15 to application 49 (step 236). If application 49 determines that the userID and password are authentic for user 15, then application 49 generates a session cookie for a session with user 15, and returns the session cookie to single sign-on program 39 (step 240). This session cookie provided by application 49 identifies application 49 as a suffix to the domain in which application 49 resides. Application 49 also records the session identification included in the session cookie and the userID (for user 15) for which the session was established. The session cookie generated by the requested application 49 typically specifies by host name and URL a single application, i.e. the requested application 49, for which the session with user 15 is valid.

If single sign-on program 38 does not have a record (in database 39) of authentication of user 15 (i.e. there was no prior registration of user 15 with single sign-on program 38) (steps 232, no branch), single sign-on program 38 queries user 15 via web browser 29 for a password corresponding to the userID of user 15, and the user 15 supplies his or her password to the single sign-on program 38 in a registration process (step 234). (This query to the user for the user's password can be defined by an HTML sent by single sign-on program 38 to web browser 29.) In response to the registration information (including userID and password) supplied by user 15 to single sign-on program 38, single sign-on program 38 attempts to authenticate user 15 to application 49 (step 236). If the authentication is successful, then the requested application 49 generates a valid session cookie for application 49 (step 240). Application 49 also records the session identification included in the session cookie and the userID (or user 15) for which the session was established and sends the session cookie (without domain-scope) to the single sign-on program 38 (step 242). The session cookie generated by the requested application 49 typically specifies by host name and URL a single application, i.e. the requested application 49, for which the session with user 15 is valid.

In either case, in response to receipt of the session cookie from application 49, single sign-on program 38 modifies the scope of the session cookie received from application 49 so the scope is effective for all applications in the host server 40 for the requested application 49 as well as all applications in all other “related” host servers (step 244). For example, all host servers resident in the same Internet domain (or all host servers owned by the same company) may be considered “related”. For example, application 49 has URL, “www-1.ABC.com/XYZ”, application 69 has a URL “www-1.ABC.com/RST” and application 89 has a URL “www-2.ABC.com/MNO”. Also by way of example, application 38 has a URL “www-1.ABC.com/GHK”. Therefore, all programs 38, 49, 69 and 89 reside in the same Internet domain “ABC.com”. In this example, single sign-on program 38 modifies the session cookie to be effective for all applications in the same Internet domain. In this example, where the requested application 49 has a URL “www-1.ABC.com/XYZ” (in which the “www-1.ABC.com” identifies the host server where “ABC” indicates the domain and “XYZ” identifies the application 49), single sign-on program 38 modifies the scope of the session cookie to be effective for all applications on all host servers in the same Internet domain “ABC.com”. Consequently, single sign-on program 38 generates a session cookie for user 15 with session scope, “ABC” or “ABC.com”, and this will be effective for all applications in the same Internet domain, ABC.com. Next, single sign-on program 38 returns the domain-scope (ABC.com) session cookie to web browser 29. Because single sign-on application 38 resides in the same domain “ABC.com” as applications 49, web browser 29 will accept from single sign-on program 38 such a session cookie to confirm a session with application 49. With this domain-scope session cookie, web browser 29 can access application 49 without user 15 having to authenticate himself or herself to application 49.

As explained above, in response to prior registration of user 15 with single sign-on program 38, single sign-on program 38 also generated another session ID and session cookie representing the session between user 15 and single sign-on program 38 (without domain-scope). Single sign-on program 38 also sent the corresponding session cookie (without domain-scope) to web browser 29 to be set in web browser 29. In response to subsequent generation of the domain-scope session cookie pursuant to the user's request to access web application 49 and the redirection from web application 49 to single sign-on program 38, single sign-on program 38 stores the session ID for the domain-scope session between user 15 and application 49 correlated to the session (without domain-scope) between user 15 and single sign-on program 38. Single sign-on program 38 also sends the corresponding domain-scope session cookie to web browser 29 (step 244), and directs web browser 29 to set this domain-scope session cookie at web browser 29 for the session with application 49. Web browser 29 retains the setting for the session cookie without domain-scope for the session with single sign-on program 38.

Next, the user 15 makes subsequent requests to application 49 to use application 49, and the web browser 29 provides the (domain-scope) session cookie with domain “ABC.com” for each such request (step 248). Upon receipt of each such use request including the session cookie with domain “www-1.ABC.com”, application 49 will confirm that the (domain-scope) session cookie properly identifies the session between application 49 and the user 15. Consequently, application 49 will process these subsequent requests without redirecting these subsequent requests to the single sign-on program 38 and without requesting re-authentication from the user 15, because the domain-scope session cookie is valid for application 49, and application 49 has a record of the session ID (even though the session ID was not created for domain-scope). Pursuant to the processing of these requests, the requested application 49 may provide HTMLs or other responses to the client computer 20. If the requested application 49 provides additional HTMLs, then the user can use the HTMLs to make the subsequent requests and use application 49 with the domain-scope session cookie.

If user 15 subsequently attempts to access application 69, user 15 will send the session key with domain-scope of “ABC.com” to application 69 (along with the session key without domain scope for single sign-on program 38). The domain-scope session cookie recently furnished by single sign-on program 38 to web browser 29 pursuant to the prior access request to application 49 will not identify an active session of the user with the requested application 69 because application 69 has no record of this session. Consequently, the requested application 69 redirects the current user access request including the domain-scope session cookie (and the session cookie without domain-scope) to the single sign-on program 38 on server 30. Application 69 also sends a “redirect” message to web browser 29 notifying web browser 29 that the user access request sent to application 69 has been redirected to single sign-on program 38 (identified by the URL or program 38). In response to the redirect message, web browser 29 initiates an authentication request for single sign-on to program 38 on server 30. If web browser 29 has a session cookie for user 15 for single sign-on program 38 from a prior successful registration attempt, then web browser 29 sends with the authentication request the session cookie for single sign-on program 38. In response to the authentication request and session cookie, if any, from application 69 and the session cookie, if any, from web browser 29, single sign-on program 38 determines if single sign-on program 38 has a record in database 39 of authentication of user 15 for the session specified in either single sign-on session cookie which is received.

If single sign-on program 38 has a record (in database 39) of a valid userID and password for user 15 (based on a previous registration of user 15 to single sign-on program 38), single sign-on program 38 authenticates user 15 to application 69 by forwarding the userID and password (or other authentication credentials) for user 15 to application 69. In this example, single sign-on program 38 has a record of a valid userID and password for user 15 based on the prior registration of user 15 to single sign-on program 38. If application 69 determines that the userId and password are authentic for user 15, then application 69 generates a session cookie (without session scope) for a session with user 15, and returns the session cookie (without session-scope) to single sign-on program 38. Application 69 also records the session identification included in the session cookie and the userID (or user 15) for which the session was established. The session cookie generated by the requested application 69 typically specifies by host name and URL a single application, i.e. the requested application 49, for which the session with user 15 is valid. This session cookie provided by application 69 identifies application 69 as a suffix to the domain in which application 69 resides.

If single sign-on program 38 does not have a record (in record database 39) of authentication of user 15, single sign-on program 38 queries user 15 via web browser 29 for a password corresponding to the userID of user 15, and the user 15 supplies his or her password to the single sign-on program 38 in a registration process. (This query to the user for the user's password can be defined by an HTML sent by single sign-on program 38 to web browser 29.) In response to the registration information (including userID and password) supplied by user 15 to single sign-on program 38, single sign-on program 38 attempts to authenticate user 15 to application 69. If the authentication is successful, then the requested application 69 generates a valid session cookie (without session-scope) for application 69 and sends the session cookie to the single sign-on program 38. Application 69 also records the session identification included in the session cookie and the userID (or user 15) for which the session was established. The session cookie generated by the requested application 69 typically specifies by host name and URL a single application, i.e. the requested application 69, for which the session with user 15 is valid.

In either case, in response to receipt of the session cookie from application 69, single sign-on program 38 modifies the scope of the session cookie received from application 69 so the scope is effective for all applications in the host server 40 for the requested application 69 as well as all applications in all other “related” host servers. For example, all host servers resident in the same Internet domain (or all host servers owned by the same company) may be considered “related”, as explained above. In the foregoing example, where the requested application 69 has a URL “www-1.ABC.com/RST” (in which the “www-1.ABC.com” identifies the host server where “ABC” indicates the domain and “RST” identifies the application 69), single sign-on program 38 modifies the scope of the session cookie to be effective for all applications on all host servers in the same Internet domain “ABC.com”. Consequently, single sign-on program 38 generates a session cookie for user 15 with session scope, “ABC” or “ABC.com”, and this will be effective for all applications in the same Internet domain, ABC.com. Next, single sign-on program 38 returns the domain-scope (ABC.com) session cookie to web browser 29. Because single sign-on application 38 resides in the same domain “ABC.com” as applications 69, web browser 29 will accept from single sign-on program 38 such a session cookie to confirm a session with application 69. With this domain-scope session cookie, web browser 29 can access application 69 without user 15 having to authenticate himself or herself to application 69.

If user 15 subsequently attempts to access application 89, then authentication proceeds as explained above for user 15's attempt to access application 69.

Thus, in accordance with the objects of the invention, the user can access multiple, related applications with a single user sign-on. The user need not authenticate himself or herself for access to the subsequently accessed, related applications. (The web browser 29 performs the authentication for each application 49, 69 and 89.) There is no proxy server interposed between the client computer 20 and each application server 40, 60 and 80 for all requests; the single sign-on server is only involved for initial authentication. The user need not even be aware that the subsequent access to the related applications require authentication. The user need not be aware of the single sign-on program 38, and web browser 29 need not be configured to request authentication from the single sign-on program 39. If user 15 does not request access to an application server, then that application server is not burdened with authentication information. Also, applications need only be reconfigured to redirect their un-authenticated requests to the single sign-on service instead of back to web browser 29.

Based on the foregoing, a system, method and program product for single sign-on according to the present invention have been disclosed. However, numerous modifications and substitutions can be made without deviating from the scope of the present invention. For example, if desired, single sign-on program 38 can reside in one of the web application servers 40, 60 or 80 instead of separate server 30. Therefore, the present invention has been disclosed by way of illustration and not limitation, and reference should be made to the following claims to determine the scope of the present invention. 

1. A method for authentication of a user at a first computer to an application at a second computer, said method comprising the steps of: said first computer sending a request to said second computer to access said application, and in response, said second computer determining that said user has not yet been authenticated to said application, and in response, said second computer redirecting said request to a third computer, and in response, said third computer determining that said user has been authenticated to said third computer, and in response, said third computer authenticating said user to said application and in response, said second computer returning a session key to said third computer for a session between said application and said user, said session have a scope of said second computer or said application but not a scope of a domain; and in response to said authentication of said user to said second application and receipt by said third computer of said session key from said second computer for a session between said user and said second computer or said application, said third computer generating another session key with a scope of the domain and sending the domain-scope session key to said first computer; and said first computer sending another request to said application with said domain-scope session key, and in response, said application recognizing a valid session between said user and said application based on said domain-scope session key and responding to said first computer in compliance with said other request; and wherein said domain is a group of applications including said application in said second computer, or a group of computers including said second computer, which are owned or operated by a same entity or have a same domain name URL component.
 2. A method as set forth in claim 1 further comprising the step of said user registering with said third computer by supplying a valid combination of userID and password.
 3. A method as set forth in claim 1 further comprising the subsequent steps of: said first computer sending a third request to a fourth computer in said domain to access a second application in said fourth computer, and in response, said fourth computer determining that said user has not yet been authenticated to said second application, and in response, said fourth computer redirecting said third request to said third computer, and in response, said third computer determining that said user has been authenticated to said third computer, and in response, said third computer authenticating said user to said second application and in response, said fourth computer returning a session key to said third computer for a session between said second application and said user, said session have a scope of said fourth computer or said second application but not a scope of said domain; and in response to said authentication of said user to said second application and receipt by said third computer of said session key from said fourth computer for a session between said user and said fourth computer or said application, said third computer generating another session key with said domain-scope and sending the domain-scope session key to said first computer; and said first computer sending another request to said second application with said domain-scope session key, and in response, said second application recognizing a valid session between said user and said second application based on said domain-scope session key and responding to said first computer in compliance with said other request sent to said second application.
 4. A computer program product for authenticating a user at a first computer to an application at a second computer, said computer program product comprising: a computer readable media; first program instructions for execution in said second computer, responsive to a request from said first computer to access said application, to determine whether said user has been authenticated to said application, and if not, redirect said request to a third computer; second program instructions, for execution in said third computer, responsive to said redirected request from said third computer, to determine if said user has been authenticated to said third computer, and if so, authenticate said user to said application; third program instructions, for execution in said second computer, responsive to said authentication of said user by said third computer, to initiate return of a session key to said third computer for a session between said application and said user, said session have a scope of said second computer or said application but not a scope of a domain; and fourth program instructions, for execution in said third computer, responsive to said authentication of said user to said second application and receipt by said third computer of said session key from said second computer for a session between said user and said second computer or said application, to generate another session key with a scope of said domain and initiate sending of the domain-scope session key to said first computer; and fifth program instructions, for execution in said second computer, responsive to another request from said first computer to access said application, said other request including said domain-scope session key, to recognize a valid session between said user and said application based on said domain-scope session key and initiate a response by said application to said first computer in compliance with said other request; and wherein said domain is a group of applications including said application in said second computer and/or a group of computers including said second computer, which are owned or operated by a same entity or have a same domain name URL component; and said first, second, third, fourth and fifth program instructions are stored on said computer readable storage media.
 5. A computer program product as set forth in claim 4 further comprising seventh program instructions, for execution in said third computer, to enable said user to register with said third computer by supplying a valid combination of userID and password; and wherein said seventh program instructions are stored on said computer readable storage media.
 6. A computer program product as set forth in claim 4 further comprising: seventh program instructions, for execution in a fourth computer in said domain, to receive a third request from said first computer to access a second application in said fourth computer, and in response, determine if said user has been authenticated to said second application, and if not, redirect said third request to said third computer; wherein said second program instructions, responsive to the redirected third request, determines whether said user has been authenticated to said third computer, and if so, authenticate said user to said second application; further comprising eighth program instructions, for execution in said fourth computer, responsive to said authentication of said user by said third computer, to initiate return or a session key to said third computer for a session between said second application and said user having a scope of said fourth computer or said second application but not a scope of said domain; and wherein said fourth program instructions, responsive to said authentication of said user to said second application and receipt by said third computer of said session key from said fourth computer for a session between said user and said fourth computer or said application, generates another session key with said domain-scope and initiate sending of the domain-scope session key to said first computer; said seventh program instructions, responsive to another request by said first computer to access said second application with said domain-scope session key, recognizes a valid session between said user and said second application based on said domain-scope session key and responds to said first computer in compliance with said other request sent to said second application; and said seventh and eighth program instructions are stored on said computer readable storage media.
 7. A computer program product as set forth in claim 6 wherein said seventh and eighth program instructions are part of said second application.
 8. A computer program product as set forth in claim 4 wherein said first, third and fifth program instructions are part of said application.
 9. A computer system for authenticating a user at a first computer to an application at a second computer, said computer system comprising: said second computer with a first central processing unit; a third computer with a second central processing unit; first program instructions, stored in said second computer for execution by said first central processing unit, responsive to a request from said first computer to access said application, to determine whether said user has been authenticated to said application, and if not, redirect said request to a third computer; second program instructions, stored in said third computer for execution by said second central processing unit, responsive to said redirected request from said third computer, to determine if said user has been authenticated to said third computer, and if so, authenticate said user to said application; third program instructions, stored in said second computer for execution by said first central processing unit, responsive to said authentication of said user by said third computer, to initiate return of a session key to said third computer for a session between said application and said user, said session have a scope of said second computer or said application but not a scope of a domain; and fourth program instructions, stored in said third computer for execution by said second central processing unit, responsive to said authentication of said user to said second application and receipt by said third computer of said session key from said second computer for a session between said user and said second computer or said application, to generate another session key with a scope of said domain and initiate sending of the domain-scope session key to said first computer; and fifth program instructions, stored in said second computer for execution by said first central processing unit, responsive to another request from said first computer to access said application, said other request including said domain-scope session key, to recognize a valid session between said user and said application based on said domain-scope session key and initiate a response by said application to said first computer in compliance with said other request; and wherein said domain is a group of applications including said application in said second computer and/or a group of computers including said second computer, which are owned or operated by a same entity or have a same domain name URL component.
 10. A computer system as set forth in claim 9 further comprising seventh program instructions, stored in said third computer for execution by said second processing unit, to enable said user to register with said third computer by supplying a valid combination of userID and password.
 11. A computer system as set forth in claim 9 further comprising: a fourth computer with a third central processing unit, said fourth computer in said domain; seventh program instructions, stored in said fourth computer for execution by said third central processing unit, to receive a third request from said first computer to access a second application in said fourth computer, and in response, determine if said user has been authenticated to said second application, and if not, redirect said third request to said third computer; wherein said second program instructions, responsive to the redirected third request, determines whether said user has been authenticated to said third computer, and if so, authenticate said user to said second application; further comprising eighth program instructions, stored in said fourth computer for execution by said third central processing unit, responsive to said authentication of said user by said third computer, to initiate return or a session key to said third computer for a session between said second application and said user having a scope of said fourth computer or said second application but not a scope of said domain; and wherein said fourth program instructions, responsive to said authentication of said user to said second application and receipt by said third computer of said session key from said fourth computer for a session between said user and said fourth computer or said application, generates another session key with said domain-scope and initiate sending of the domain-scope session key to said first computer; and said seventh program instructions, responsive to another request by said first computer to access said second application with said domain-scope session key, recognizes a valid session between said user and said second application based on said domain-scope session key and responds to said first computer in compliance with said other request sent to said second application.
 12. A computer system as set forth in claim 11 wherein said seventh and eighth program instructions are part of said second application.
 13. A computer system as set forth in claim 9 wherein said first, third and fifth program instructions are part of said application. 